/**
 *
 * @properties={typeid:24,uuid:"0e4e2f90-2eb8-450f-9b5d-f1c26ee8809c"}
 */
function dialogConcepto()
{
	var fs = databaseManager.getFoundSet(controller.getServerName(),controller.getTableName())
	fs.find()
	fs.subdiario_id = subdiario_id
	var cant = fs.search()
	if (cant != 1)
		globals.gDialog('Error','Por favor, grabe los cambios antes de insertar un concepto','OK','CerrarForm')
	else
	{
		forms.subdiarios_concepto.controller.loadRecords(fs)
		application.showFormInDialog(forms.subdiarios_concepto,null,null,null,null,'Concepto',false,false,'Concepto',true)
	}
}

/**
 *
 * @properties={typeid:24,uuid:"4e8827ec-d616-4ce9-9aa9-ce5a2865ff0f"}
 */
function recalcular()
{
	forms.subdiarios_cab.calcularTotales();
}
